import KoaRouter from 'koa-router'
import * as storeController from '../controller/storeController'

const router = new KoaRouter()
router.get('/storeList', storeController.getStoreList)
router.get('/logout', ctx => {
    delete ctx.session.user
})

export default router